package com.ftg.learn.chapter08.baidicheng;

/**
 * 古诗
 *
 * @author lijiaxin
 * @version 1.0
 * @date 2023/7/21 16:05
 */

public class Poem {

    public static void main(String[] args) {
        Place p1 = new Place();
        p1.setName("白帝城");

        Place p2 = new Place();
        p2.setName("江陵");

        Human h1 = new Human();
        h1.setName("李白");
        h1.setIdentity("诗人");

        Boat boat = new Boat();
        boat.setName("梅丽号");

        boat.move("朝",p1,p2,h1,"一天");
    }
}
